* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
}

input {
  outline: none;
}

.box {
  width: 100%;
}

.nav_main {
  width: 100%;
  background-color: #232323;

}

@width: 11.73rem;

@media screen and (max-width: 1024px) {
  .navbar-header {
    float: none;
  }

  .navbar-left,
  .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }

  .navbar-nav>li {
    float: none;
  }

  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .collapse.in {
    display: block !important;
  }
}
.container-fluid {
  padding: 0;
}
.nav_main .navbar_main {
  width: 11.73rem;
  margin: 0 auto;
}

.navbar-brand {
  line-height: 1.16rem;
}

.navbar-brand img {
  display: inline-block;
}

.navbar-inverse {
  border-color: transparent;
}

.navbar-inverse .navbar-nav>li>a {
  line-height: 1.16rem;
  color: #fff;
  font-size: 0.14rem;
}
.nav_ul {
  margin-left: 1.75rem;
}


.nav_ul2 li:nth-of-type(2) a {
  display: block;
  line-height: 1.16rem;
  padding-right: 0;
  .dv2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.55rem;
    height: 0.4rem;
    border: 1px solid #fff;
    margin-top: 0.36rem;
    img {
      width: 0.2rem;
    }
    .num {
      position: absolute;
      top: 2px;
      right: 5px;
      width: 0.18rem;
      height: 0.18rem;
      border-radius: 50%;
      color: #fff;
      font-size: 0.14rem;
      text-align: center;
      line-height: 0.18rem;
      background-color: #db1914;
    }
  }
}

.nav_ul2 li:nth-of-type(1) a {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.16rem;
  width: 1.8rem;
  height: 0.4rem;
  background-color: #db1914;
  margin-top: 0.53rem;
  font-size: 0.14rem;
}


@media screen and (max-width: 1024px) {
  .navbar-brand img {
    width: 60px;
  }

  .navbar-brand {
    line-height: 0.52rem;
  }

  .navbar-toggle {
    margin-right: -0.3rem;
  }
  .nav_top {
    display: none;
  }
  .nav_ul2 li:nth-of-type(1) a {
    margin-top: 0;
    width: 120px;
    height: 35px;
    transform: scale(0.8);
    transform-origin: left center;
  }
  .nav_ul2 li:nth-of-type(2) a .dv2 {
    width: 1rem;
    height: 0.8rem;
  }
  .nav_ul2 li:nth-of-type(2) a .dv2 img {
    width: 0.4rem;
  }
}

.nav_top {
  width: 100%;
  height: 0.54rem;
  background-color: #db1814;
  &>div {
    display: flex;
    justify-content: space-between;
    width: @width;
    height: 100%;
    margin:  0 auto;
    .left {
      display: flex;
      justify-content: start;
      height: 100%;
      color: #fff;
      .left1, .left2 {
        display: flex;
        justify-content: start;
        align-items: center;
        height: 100%;
        margin-right: 0.4rem;
        img {
          margin-right: 0.2rem;
        }
      }
    }
    .right {
      display: flex;
      justify-content: flex-start;
      height: 100%;
      .right1 {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        .r {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 0.3rem;
          height: 0.3rem;
          background-color: #2e2e2e;
          margin-right: 0.1rem;
          &:last-of-type {
            margin-right: 0.78rem;
          }
          img {
            width: 0.12rem;
          }
        }
      }
      .right2 {
        display: flex;
        align-items: center;
        width: 0.75rem;
        height: 100%;
        .r2 {
          position: relative;
          display: flex;
          align-items: center;
          width: 100%;
          height: 0.15rem;
          input {
            width: 100%;
            border: none;
            padding-left: 0.24rem;
            background-color: transparent;
            &::placeholder {
              color: #fff;
            }
          }
          img {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
          }
        }
      }
    }
  }
}

// 轮播图部分
.silder {
  position: relative;
  width: 100%;
  .inner {
    // width: 100%;
    // height: 7.2rem;
    .inner_imgs {
      width: 100%;
      height: 7.2rem;
      overflow: hidden;
      img {
        width: 100%;
        // height: 100%;
      }
    }
    .inner_msg {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 7.7rem;
      height: 2.05rem;
      transform: translate(-50%, -50%);
      line-height: 0.6rem;
      p {
        color: #fff;
        text-align: center;
        &:nth-of-type(1) {
          font-size: 0.5rem;
        }
        &:nth-of-type(2) {
          font-size: 0.25rem;
          margin-top: -0.3rem;
        }
        &:nth-of-type(3) {
          width: 5rem;
          font-size: 0.4rem;
          font-family: Achafita;
          background-color: #db1814;
          margin: 0 auto;
        }
      }
    }
  }
}

// 底部
.footer {
  width: 100%;
  .footer_dv1 {
    width: 100%;
    // height: 4.55rem;
    background-color: #343333;
    &>div {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: @width;
      height: 100%;
      margin: 0 auto;
      ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 2.7rem;
        height: 2.8rem;
        li {
          &:nth-of-type(1) {
            font-size: 0.18rem;
            color: #fff;
            font-weight: 700;
            text-transform: uppercase;
          }
        }
      }
      .hours {
        li {
          font-size: 0.13rem;
          color: #cdcdcd;
          // margin-bottom: 0.3rem;
          &:last-of-type {
            width: 0.75rem;
            height: 0.3rem;
            text-align: center;
            line-height: 0.3rem;
            background-color: #db1914;
            transform: scale(0.83);
            transform-origin: left center;
          }
        }
      }
      .news1 {
        li {
          &:nth-of-type(n+1) {
            display: flex;
            justify-content: space-between;
            .img {
              width: 1rem;
              height: 1rem;
              img {
                width: 100%;
              }
            }
            .msg {
              width: 1.5rem;
              padding-top: 0.18rem;
              p {
                font-size: 0.13rem;
                color: #fff;
              }
              span {
                font-size: 10px;
                color: #6b6b6b;
                transform: scale(0.83);
                transform-origin: left center;
              }
            }
          }
       
        }
      }
      .gallery {
        li {
          &:nth-of-type(2) {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-content: space-between;
            div {
              width: 1.3rem;
              height: 0.95rem;
              margin-bottom: 0.05rem;
              img {
                width: 100%;
                height: 100%;
              }
            }
          }
          &:nth-of-type(3) {
            &:last-of-type {
              width: 0.75rem;
              height: 0.3rem;
              text-align: center;
              line-height: 0.3rem;
              color: #fff;
              font-size: 0.12rem;
              background-color: #db1914;
              transform: scale(0.83);
              transform-origin: left center;
            }
          }
        }
      }
      .info {
        li {
          &:nth-of-type(2) {
            width: 80%;
            font-size: 0.13rem;
            color: #e0e0e0;
            margin-bottom: 0.5rem;
          }
          &:nth-child(n+3) {
            width: 85%;
            height: 0.32rem;
            font-size: 0.13rem;
            color: #ddd;
            border-bottom: 1px solid #db1914;
            overflow: hidden;//溢出隐藏
            white-space: nowrap;//禁止换行
            text-overflow: ellipsis;//...
            img {
              width: 16px;
              margin-right: 0.2rem;
            }
          }
        }
      }
    }
  }
  .footer_dv2 {
    width: 100%;
    height: 0.6rem;
    background-color: #2d2d2d;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: 0.6rem;
  }
}

@media screen and (max-width: 330px) {
  .silder .inner .inner_msg p:nth-of-type(3) {
    display: none;
  }
}
@media screen and (max-width: 590px) {
  .silder .inner .inner_msg {
    line-height: 1rem;
  }
}

@media screen and (max-width: 1525px) {
  .nav_ul {
    margin-left: 0;
  }
}
@media screen and (max-width: 1220px) {
  .nav_main .navbar_main, .nav_top>div {
    width: @width+3;
  }
  .footer .footer_dv1 > div {
    flex-wrap: wrap;
  }
  .footer .footer_dv1 > div > ul {
    width: 40%;
    margin-top: 0.3rem;
  }
  .footer .footer_dv1 > div .gallery li:nth-of-type(2) {
    justify-content: start;
  }
  .footer .footer_dv1 > div .gallery li:nth-of-type(2) div {
    width: 1.6rem;
    height: 1rem;
    margin-bottom: 0.1rem;
    margin-right: 0.1rem;
  }
  .footer .footer_dv1 > div .news1 li:nth-of-type(n+1) {
    justify-content: start;
  }
  .footer .footer_dv1 > div .news1 li:nth-of-type(n+1) div {
    margin-right: 0.2rem;
  }
  .footer .footer_dv1 > div .news1 li:nth-of-type(n+1) .msg {
    width: 100%;
  }
  .footer .footer_dv1 > div .news1 li:nth-of-type(n+1) .img {
    width: 2rem;
  }
  .footer .footer_dv1 > div .info li:nth-child(n+3) {
    margin-top: 0.15rem;
  }
  .footer .footer_dv1 > div .info li:nth-of-type(2) {
    // margin-bottom: 0;
    display: none;
  }
  .footer .footer_dv1 > div .info {
    justify-content: start;
    margin-bottom: 0;
  }
  .footer .footer_dv1 > div .hours li:last-of-type,
  .footer .footer_dv1 > div .gallery li:nth-of-type(3):last-of-type {
    min-width: 75px;
    min-height: 16px;
  }
}
@media screen and (max-width: 900px) {
  .footer .footer_dv1 > div {
    width: 14.73rem;
  }
  .footer .footer_dv1 > div {
    justify-content: center;
    margin-top: 20px;
  }
  .footer .footer_dv1 > div > ul {
    width: 100%;
    height: 4rem;
    margin-top: 20px;
  }
  .footer .footer_dv1 > div ul {
    align-items: center;
  }
  .footer .footer_dv1 > div .info li:nth-child(n+3) {
    height: 1rem;
  }
  .footer .footer_dv1 > div .info li{
    display: flex;
    justify-content: center;
  }
  .footer .footer_dv1 > div .info li:nth-child(n+3) img {
    width: 0.6rem;
    height: 0.6rem;
  }
}
@media screen and (max-width: 1666px) {
  .footer .footer_dv1 > div .news1 li:nth-of-type(n+1) .msg p,
  .footer .footer_dv1 > div .hours li,
  .footer .footer_dv1 > div .gallery li:nth-of-type(3):last-of-type,
  .footer .footer_dv1 > div .news1 li:nth-of-type(n+1) .msg span{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  .footer .footer_dv1 > div .news1 li:nth-of-type(n+1) .msg p {
    -webkit-line-clamp: 1;
  }
  .footer .footer_dv1 > div .hours li,
  .footer .footer_dv1 > div .news1 li:nth-of-type(n+1) .msg span,
  .footer .footer_dv1 > div .gallery li:nth-of-type(3):last-of-type {
    -webkit-line-clamp: 1;
  }
}















